package com.ideal.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 配置版本 对象 config_version
 *
 * @author songfz
 * @date 2022-07-13
 */
public class ConfigVersion implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置文件id 配置表 */
    private Long configId;

    /** 权限组 操作权限 */
    private String roleGroup;

    /** 版本号 */
    private String version;

    /** 报文数据 */
    private String content;

    /** 源文件 */
    private String fileUrl;

    /** 使用状态 0:待用 1：使用 2：弃用 */
    private Long useStatus;

    private String remark;

    /** 废弃原因 版本弃用原因 */
    private String disuseCause;

    /** 创建人 */
    private String createdBy;

    /** 创建时间 */
    private Date createdTime;

    /** 更新人 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }
    public void setRoleGroup(String roleGroup)
    {
        this.roleGroup = roleGroup;
    }

    public String getRoleGroup()
    {
        return roleGroup;
    }
    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getVersion()
    {
        return version;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }
    public void setUseStatus(Long useStatus)
    {
        this.useStatus = useStatus;
    }

    public Long getUseStatus()
    {
        return useStatus;
    }
    public void setDisuseCause(String disuseCause)
    {
        this.disuseCause = disuseCause;
    }

    public String getDisuseCause()
    {
        return disuseCause;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "ConfigVersion{" +
                "id=" + id +
                ", configId=" + configId +
                ", roleGroup='" + roleGroup + '\'' +
                ", version='" + version + '\'' +
                ", content='" + content + '\'' +
                ", fileUrl='" + fileUrl + '\'' +
                ", useStatus=" + useStatus +
                ", disuseCause='" + disuseCause + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                '}';
    }
}
